package part16_备忘录模式_游戏角色恢复.p01;

/**备忘录对象，负责保存好记录，就是Originator内部状态
 * @ClassName: Memento
 * @Author: AllenSun
 * @Date: 2020/3/8 23:15
 */
public class Memento {
    private String state;

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
